/* 
 * File:   Object.h
 * Author: mauro
 *
 * Created on 8 de septiembre de 2014, 18:44
 */

#ifndef OBJECT_H
#define	OBJECT_H

#include "SkinFactory.h"
#include <Box2D/Box2D.h>


class Object {
private:
    b2Body *body;
    SkinFactory *skin;
public:
    Object();
    Object(b2Body *body, SkinFactory *skin);
       
//    float* getPosition();
    b2Vec2 getPosition();
    float getAngle();
    float getAngularVelocity();

    b2Body* getBody();
    SkinFactory* getSkin();
    
    void setAngularVelocity(float velocity);
    virtual ~Object();
//    ~Object();


};

#endif	/* OBJECT_H */

